package com.zzyl.serve.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 取消护理任务DTO
 */
@Data
@ApiModel(description = "取消护理任务请求参数")
public class CancelTaskDTO {

    @ApiModelProperty(value = "护理任务ID", required = true, example = "1001")
    @NotNull(message = "任务ID不能为空")
    private Long taskId;

    @ApiModelProperty(value = "取消原因", required = true)
    @NotBlank(message = "取消原因不能为空")
    private String reason;
}